updatePushSubscription

public abstract void updatePushSubscription(String packageName, String deviceToken, String subscriptionID, PushUpdateSubscriptionCallback callback)

This method updates the push subscription with a new device token.

Since

4.6.0

Parameters

packageName

application's packageName

deviceToken

device token generated by the PushKit

subscriptionID

unique ID assigned to the device by WebRTC GW after the push subscription

callback

block implementation that will be used to return success or fail